package com.maven.rabbitmq.constant;

public class Constant {

    // 订阅模式:广播
    public static String FANOUT_QUEUE_1 = "fanout_queue1";
    public static String FANOUT_QUEUE_2 = "fanout_queue2";
    public static String FANOUT_EXCHANGE = "fanout_exchange";

    // 定向转发
    public static String DIRECT_QUEUE_1 = "direct_queue1";
    public static String DIRECT_QUEUE_2 = "direct_queue2";
    public static String DIRECT_EXCHANGE_1 = "direct_exchange";
    public static String DIRECT_EXCHANGE_2 = "direct_exchange";

    // 通配符
    public static String TOPIC_QUEUE_1 = "topic_queue1";
    public static String TOPIC_QUEUE_2 = "topic_queue2";
    public static String TOPIC_EXCHANGE = "topic_exchange";

    // RPC通信
    public static String RPC_QUEUE_1 = "rpc_queue1";


    // 发布确认
    //1.单独确认
    public static String INDIVIDUALLY_QUEUE = "individually_queue";
    public static String INBATCH_QUEUE = "inbatch_queue";
    public static String ASYNCHRONOUSLY_QUEUE = "asynchronously_queue";
}
